package com.example.demo.coder;

public class MessageObject {

    private String cmd;

    private String content;

    private long time;

    private String onlineNum;

    private String nickName;

    public MessageObject() {
    }

    public MessageObject(String cmd, String content, long time, String onlineNum, String nickName) {
        this.cmd = cmd;
        this.content = content;
        this.time = time;
        this.onlineNum = onlineNum;
        this.nickName = nickName;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOnlineNum() {
        return onlineNum;
    }

    public void setOnlineNum(String onlineNum) {
        this.onlineNum = onlineNum;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
